package com.hexacta.hrs.domain.feedback.skills;

import java.util.Comparator;

public class FeedbackSkillsComparator implements Comparator<Object> {

	@Override
	public int compare(Object o1, Object o2) {
		FeedbackSkill fistSkill = (FeedbackSkill) o1;
		FeedbackSkill secondSkill = (FeedbackSkill) o2;
		
		return fistSkill.getSkillType().compareTo(secondSkill.getSkillType());
	}
	
}
